<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        p:not(#green) {
            background: red;
        }
    </style>
</head>
<body>
<!--
    E:not(S)            排除掉某个元素
        E               标签
        S               要排除掉的元素的class或id


-->
<div>
    <p>red</p>
    <p id="green">green</p>
    <p>blue</p>
</div>

</body>
</html>